package com.zhang.authoritycenter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

//@RibbonClient
@EnableFeignClients
@MapperScan(basePackages = "com.zhang.authoritycenter.common.mapper")
@ComponentScan(basePackages = {"com.zhang.authoritycenter", "com.zhang.redis", "com.zhang.mysql","com.zhang.infrastructure"})
@EnableDiscoveryClient
@SpringBootApplication
public class AuthorityCenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(AuthorityCenterApplication.class, args);
    }

}
